<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>部门详情页</title>
</head>
<body>
<h1>部门详情</h1>
<p>部门编号：<span th:text="${dept.deptCode}">张三</span></p>
<p>部门名称：<span th:text="${dept.deptName}">12</span></p>
<p>负责人：<span th:text="${dept.manager}">13411112222</span></p>
<p>办公地址：<span th:text="${dept.address}"></span></p>
<table>
    <tr>
        <th>用户ID</th>
        <th>姓名</th>
        <th>手机号</th>
        <th>状态</th>
    </tr>
    <tr th:each="u:${userList}">
        <td th:text="${u.id}">老王</td>
        <td th:text="${u.name}">11</td>
        <td th:text="${u.phone}">18882727272</td>
        <td th:text="${u.del==0 ? '在职' : '离职' }"></td>
    </tr>
</table>
</body>
</html>